package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.Strategy;
import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import cn.wolfcode.wolf2w.domain.vo.CatalogVO;
import cn.wolfcode.wolf2w.query.QueryObject;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCatalogService {
    /**
     * 保存操作
     * @param strategyCatalog
     */
    void save(StrategyCatalog strategyCatalog);

    /**
     * 删除操作
     * @param id
     */
    void delete(String id);

    /**
     * 编辑操作
     * @param strategyCatalog
     */
    void update(StrategyCatalog strategyCatalog);

    /**
     * 查一个
     * @param id
     * @return
     */
    StrategyCatalog get(String id);

    /**
     * 查多个
     * @param
     * @return
     */
    List<StrategyCatalog> list();


    Page<StrategyCatalog> queryPageList(QueryObject qo);

    List<CatalogVO> queryStrategyCatalogList();

    List<StrategyCatalog> getCatalogs(String destId);

}
